package com.example.demo.entity.responseJson;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author : 洪俊新
 * @date : 2021/3/19 10:02
 * @description:
 */
@ApiModel("购买单章节查询返回JSon类")
public class QuerybuyonrChapterRes {
    String bookId;
    /**
     * 消耗积分数量
     * isnull 0
     */        @ApiModelProperty(value="消耗积分数量", position=12)
    private Integer consumptionPoints;
    /**
     * 猫粮数量（为充值所得）
     * isnull 0
     */        @ApiModelProperty(value="猫粮数量（为充值所得）", position=3)
    private Integer catfoodCount;

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public Integer getConsumptionPoints() {
        return consumptionPoints;
    }

    public void setConsumptionPoints(Integer consumptionPoints) {
        this.consumptionPoints = consumptionPoints;
    }

    public Integer getCatfoodCount() {
        return catfoodCount;
    }

    public void setCatfoodCount(Integer catfoodCount) {
        this.catfoodCount = catfoodCount;
    }

    @Override
    public String toString() {
        return "QuerybuyonrChapterRes{" +
                "bookId='" + bookId + '\'' +
                ", consumptionPoints=" + consumptionPoints +
                ", catfoodCount=" + catfoodCount +
                '}';
    }
}
